//
//  JSMLeavingHeaderShowModel.m
//  TakeYouTourTogether
//
//  Created by dllo on 15/11/30.
//  Copyright © 2015年 king. All rights reserved.
//

#import "JSMLeavingHeaderShowModel.h"
#import "JSMLeavingHeaderShowCityModel.h"
@implementation JSMLeavingHeaderShowModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"data"]) {
        self.dataMarr = [NSMutableArray array];
        self.dataMarr = [JSMLeavingHeaderShowCityModel baseModelByArr:value];
    }
}

- (id)initWithCoder:(NSCoder *)aDecoder {
    self = [super init];
    if (self) {
        self.dataMarr = [aDecoder decodeObjectForKey:@"dataMarr"];
        self.more = [aDecoder decodeObjectForKey:@"more"];
    }
    return self;
}

- (void)encodeWithCoder:(NSCoder *)aCoder {
    [aCoder encodeObject:self.dataMarr forKey:@"dataMarr"];
    [aCoder encodeObject:self.more forKey:@"more"];
}
@end
